package com.nbcb.service;

import com.nbcb.domain.Order;

import java.util.List;

/**
 * 订单逻辑
 */
public interface OrderService {
    /**
     * 下订单
     * @param productId
     * @param userId
     * @return
     */
    public Boolean createOrder(List<String> productId,String userId);

    /**
     * 查询订单
     * @return
     */
    public List<Order> queryOrder();

}
